package com.hwadee.mapper;

import com.hwadee.pojo.Alert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AlertMapper {
    List<Alert> getAllAlerts();
    int addAlert(Alert alert);
    int deleteAlert(Integer id);
    int updateAlert(Alert alert);
}
